package generic;

/**
 * @Author:CJJ
 * @Date:2025/6/16
 */
public class Func {
    public Object obj;

    public <T> void setObj(T obj){
        this.obj=obj;
    }

    public <T> Object getObj(){
        return (T)obj;
    }

    public static <T>T getT(){
        return (T)new Object();
    }
}
